<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
    <body>

        <!--/* Access fields from the HTTP Session object */-->

        <h3>Session Id</h3>
        <p th:text="${#httpSession.id}"/>

        <h3>Hits</h3>
        <p th:text="${#httpSession.getAttribute('hits')}"/>


        <!--/* Confirm which cluster member this process contains */-->

        <div th:if="${hasHzIns}">
            <hr/>
            <div style="color:blue">
                <p th:text="'Cluster member ' + ${hzInsName}"/>
            </div>				
            <hr/>
        </div>
        <div th:unless="${hasHzIns}">
            <hr/>
            <div style="color:red">
                <p>No Hazelcast @Bean</p>
            </div>				
            <hr/>
        </div>
    </body>
</html>
